﻿using ReflectionStudio.Core.Events;
using System;
using System.Data;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Diagnostics;
using System.ComponentModel;
using WPFExcelReport.Helpers;
using System.Windows.Input;
namespace WPFExcelReport
{
    public partial class UIWS22TYT
    {
        public UIWS22TYT()
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            MV = new VWTGEW();
            this.DataContext = MV;
            InitializeComponent();
        }
        public override void Window_Loaded(object sender, RoutedEventArgs e)
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            if (IsLoaded) return; 
            if (!IsMasterFromMV)
            {
                MV = new VWTGEW();
                this.DataContext = MV;
            }
            base.Window_Loaded(sender, e);
        }
    }
}
